Skip to content

Conversation

thebrownhobbit-commits
Copy link

@thebrownhobbit-commits thebrownhobbit-commits commented Sep 17, 2025

Theses modifications allow for the user to select either Mode 1 (260-1260 hPa) or Mode 2 (260-4000 hPa) for the LPS28DFW Digital Barometer.

The mode change has been routed through the menu configurations, the Qwiic Device autodetection and storage on the SD card via nvm.ino.

I have tried my best to stay in line with they way the code currently functions including NOT storing the option to the onboard eeprom memory. this means if the user power cycles the OLA without an SD card present, it will always revert back to mode 1.

ERROR/Concern - the ST spec sheet lists the mode 2 range for the pressure sensor to be 260-4060 hPA however the libraries are setup for 260-4000 hPa. I have used the 260-4000 hPa ranges. If the libraries are adjusted, please find and replace 4000 with 4060 throughout.

PLEASE NOTE this is my first contribution to public SW work and I am keen on code review, feedback, testing and verifications by others.

@PaulZC
Copy link
Collaborator

PaulZC commented Sep 17, 2025

Hi Todd (@thebrownhobbit-commits ),

Excellent. Many thanks for the contribution! I'm away from my desk for a few days; I will take a look early next week.

Thanks again,
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants